
<table width="100%" border="0" cellpadding="0" cellspacing="0" style="margin-top:2px; margin-bottom:2px">
	<tr>
		<td id="content-header-left" align="center" ></td>
		<td  id='content-header-center' align='center'>Maa Screen reviews</td>
		<td id="content-header-right" ></td>
	</tr>	
	<tr>
		<td id="gossip_left_right" bgcolor="#E3E1E2" valign="top"> 

		</td>
		     
		 	
		  <td>
		   
		   <table border="0" width="100%" bgcolor="white"  cellspacing="9px" cellpadding="9px"style="padding-left:8px padding-right:8px;">
				<tr>
  					<? $count = 1 ; foreach ($data as $aData): ?>
  					<td id="m_reviews_td">
  						<div id="m_reviews_images">
  						<a href="<?=base_url()."reviews/details/".$aData['id'] ?>">
  							<img src="<?=base_url();?>assets/images/reviews_<?=$aData['id'] ?>_thumb.jpg" border="0px">
  						</a>
  						</div>
  						<div>
  							<span id="m_reviews_text"><?=ucfirst($aData['movie_name']) ?></span>
  							<span style="">
	  							<br>
	  							<a href="<?=base_url()."reviews/details/".$aData['id'] ?>" class="pagelink"> Review</a> Rating:<?=$aData['rating'] ?><br/>
	  							<?if($aData['gallery_id']!="" && $aData['gallery_id']!=0){ ?>
	  							<a href="<?=base_url()."gallery/display/".$aData['gallery_id'] ?>" class="pagelink">Photo Gallery</a><br/>
	  							<?} ?>
	  							<?if($aData['wallpapers_id']!="" && $aData['wallpapers_id']!=0){ ?>
	  							<a href="<?=base_url()."wallpapers/display/".$aData['wallpapers_id'] ?>" class="pagelink">Wallpapers</a><br/>
	  							<?} ?>
	  							<?if($aData['trailors_count']!="" && $aData['trailors_count']!=0){ ?>
	  							<a href="<?=base_url()."trailors/details/".$aData['movie_id'] ?>" class="pagelink">Trailors</a><br/>
	  							<?} ?>
	  							<?if($aData['interview_id']!="" && $aData['interview_id']!=0){ ?>
	  							<a href="<?=base_url()."interviews/details/".$aData['interview_id']."html" ?>" class="pagelink">Interviews</a><br/>
	  							<?} ?>
  							</span>
  						</div>
  					</td>
  					<?  if($count%2==0) { echo "</tr><tr>";}
  					   $count++;	endforeach; 
  						if($count == 0)
  						{
  						?>
  						 <td><center style="font-size: 19px;">No data Found</center></td>
  						<?} ?>

     			<tr> 
     				<td colspan="2" >
	     				<div id="pagination" >
							<? echo $pagination; ?>
						</div>
     				</td>
     			</tr>
     		</table>
			 
			   
			</td>
		<td id="gossip_left_right" bgcolor="#707070"></td>
	</tr>

</table>